xend: readDomTxn() and friends use dompath, not vmpath.
authorKeir Fraser <keir@xensource.com>
Thu, 15 Nov 2007 22:14:13 +0000 (22:14 +0000)
committerKeir Fraser <keir@xensource.com>
Thu, 15 Nov 2007 22:14:13 +0000 (22:14 +0000)
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
tools/python/xen/xend/XendDomainInfo.py

index faf3f9b041ff330870f2234c3278f99454939107..79e2f859777a08e7950aa720ea931d08a7cde6f0 100644 (file)
@@ -920,23 +920,23 @@ class XendDomainInfo:
 
 
     def readDomTxn(self, transaction, *args):
-        paths = map(lambda x: self.vmpath + "/" + x, args)
+        paths = map(lambda x: self.dompath + "/" + x, args)
         return transaction.read(*paths)
 
     def gatherDomTxn(self, transaction, *args):
-        paths = map(lambda x: self.vmpath + "/" + x, args)
+        paths = map(lambda x: self.dompath + "/" + x, args)
         return transaction.gather(*paths)
 
     def _writeDomTxn(self, transaction, *args):
-        paths = map(lambda x: self.vmpath + "/" + x, args)
+        paths = map(lambda x: self.dompath + "/" + x, args)
         return transaction.write(*paths)
 
     def _removeDomTxn(self, transaction, *args):
-        paths = map(lambda x: self.vmpath + "/" + x, args)
+        paths = map(lambda x: self.dompath + "/" + x, args)
         return transaction.remove(*paths)
 
     def storeDomTxn(self, transaction, *args):
-        paths = map(lambda x: self.vmpath + "/" + x, args)
+        paths = map(lambda x: self.dompath + "/" + x, args)
         return transaction.store(*paths)